package erfgame.core.entity;

import java.io.Serializable;

public class CompositeAssociation implements Serializable {
	private static final long serialVersionUID = 0;
	
	private Entity entity;
	private CompositeAssociationType type;
	
	public CompositeAssociation( CompositeAssociationType type, Entity entity ) {
		this.entity = entity;
		this.type = type;
	}
	
	public Entity getEntity() {
		return this.entity;
	}
	
	public CompositeAssociationType getType() {
		return this.type;
	}
}
